package model


type User struct {

	Id    int `gorm:"primary_key" form:"id, omitempty"  binding:"-" json:"id"`
	Mobile    string `form:"mobile, omitempty"  binding:"required" json:"mobile"`
	Nick string `json:"nick"`
	Avatar string `json:"avatar"`
	Password     string `form:"password, omitempty"  binding:"required" json:"-"`
	InvateCode   string `form:"invite_code, omitempty" json:"invate_code" `
	State   int `form:"state, omitempty" binding:"-" json:"state"`
}

